package dryven.unittest.validation.mockup;

import java.util.HashMap;
import java.util.Map;

import dryven.model.validation.ValidationFormValueCollection;

public class MockupValidationFormValueCollection implements ValidationFormValueCollection {

	private Map<String, String> values = new HashMap<String, String>();
	
	@Override
	public Iterable<String> getNames() {
		return values.keySet();
	}

	@Override
	public String getValue(String name) {
		return values.get(name);
	}
	
	public void put(String name, String value) {
		values.put(name, value);
	}
	
}
